Skip to main content

mobileStoreCanMakePurchase

Type

function

Summary

Determines if in-app purchasing is available.

Syntax

mobileStoreCanMakePurchase()

Description

Use the mobileStoreCanMakePurchase function to determine if in-app purchasing is available.

The command mobileStoreCanMakePurchase is used to determine if in-app purchasing is available.

Examples

answer mobileStoreCanMakePurchase()
if mobileStoreCanMakePurchases() is true then
mobileStoreRequestProductDetails "com.runrev.sampleapp.consumable"
else
answer "In-app purchasing is not supported"
end if

function: mobileStorePurchasedProducts, mobileStoreProductProperty, mobileStorePurchaseError

message: purchaseStateUpdate, productRequestError, productDetailsReceived

command: mobileStoreRestorePurchases, mobileStoreDisablePurchaseUpdates, mobileStoreEnablePurchaseUpdates, mobileStoreRequestProductDetails, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase, mobileStoreVerifyPurchase

Compatibility and Support

Introduced

LiveCode 6.7

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?